<?php
/**
 * Yii view _filter
 *
 * @author nguyenmanhluu
 * @since Aug 26, 2013 - 8:10:32 PM
 */
?>
<form method="GET">
    <?php
    if ($this->isAdmin)
    {
        echo "Merchant: ";
        echo CHtml::dropDownList('business', $this->filterBusiness, Users::getAllBussiness(TRUE, FALSE), array(
            'data-rel'         => "chosen",
            'data-placeholder' => "Type Merchant name...",
            'onchange'         => 'this.form.submit();'
        ));
    }
    ?>                
</form>
